package com.woniuxy.service;

import com.woniuxy.dao.UserDao;
import com.woniuxy.entity.ResponseEntity;
import com.woniuxy.entity.Test;
import com.woniuxy.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author ylr
 * @time 2022/05/30 20:30:03
 */
public interface IUserService {
    ResponseEntity login(String username, String password);

    Set<String> findRoles(String username);

    Set<String> findPerms(String username);


    List<Test> findUsers(Map<String, Object> map);

    ResponseEntity addUser(Map map);
}
